<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2024/9/14
  Time: 11:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html >
<head>
  <meta charset="UTF-8">
  <title>声明变量和方法</title>
</head>

<%!
  public int count;
  public String info(){
    return "你个小吗喽";
  }
%>
<body>
<%
  out.printle(count++);
%>

<%
  out.println(info());
%>
</body>
</html>
